﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001023 RID: 4131
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournGetArchiveRepositoryScRsp : IMessage<RogueTournGetArchiveRepositoryScRsp>, IMessage, IEquatable<RogueTournGetArchiveRepositoryScRsp>, IDeepCloneable<RogueTournGetArchiveRepositoryScRsp>, IBufferMessage
	{
		// Token: 0x17003435 RID: 13365
		// (get) Token: 0x0600B8C1 RID: 47297 RVA: 0x001F21EB File Offset: 0x001F03EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournGetArchiveRepositoryScRsp> Parser
		{
			get
			{
				return RogueTournGetArchiveRepositoryScRsp._parser;
			}
		}

		// Token: 0x17003436 RID: 13366
		// (get) Token: 0x0600B8C2 RID: 47298 RVA: 0x001F21F2 File Offset: 0x001F03F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournGetArchiveRepositoryScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003437 RID: 13367
		// (get) Token: 0x0600B8C3 RID: 47299 RVA: 0x001F2204 File Offset: 0x001F0404
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournGetArchiveRepositoryScRsp.Descriptor;
			}
		}

		// Token: 0x0600B8C4 RID: 47300 RVA: 0x001F220B File Offset: 0x001F040B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGetArchiveRepositoryScRsp()
		{
		}

		// Token: 0x0600B8C5 RID: 47301 RVA: 0x001F222C File Offset: 0x001F042C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGetArchiveRepositoryScRsp(RogueTournGetArchiveRepositoryScRsp other) : this()
		{
			this.kPMIANLJIMI_ = other.kPMIANLJIMI_.Clone();
			this.cPICIEDIKJK_ = other.cPICIEDIKJK_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B8C6 RID: 47302 RVA: 0x001F227E File Offset: 0x001F047E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournGetArchiveRepositoryScRsp Clone()
		{
			return new RogueTournGetArchiveRepositoryScRsp(this);
		}

		// Token: 0x17003438 RID: 13368
		// (get) Token: 0x0600B8C7 RID: 47303 RVA: 0x001F2286 File Offset: 0x001F0486
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> KPMIANLJIMI
		{
			get
			{
				return this.kPMIANLJIMI_;
			}
		}

		// Token: 0x17003439 RID: 13369
		// (get) Token: 0x0600B8C8 RID: 47304 RVA: 0x001F228E File Offset: 0x001F048E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> CPICIEDIKJK
		{
			get
			{
				return this.cPICIEDIKJK_;
			}
		}

		// Token: 0x1700343A RID: 13370
		// (get) Token: 0x0600B8C9 RID: 47305 RVA: 0x001F2296 File Offset: 0x001F0496
		// (set) Token: 0x0600B8CA RID: 47306 RVA: 0x001F229E File Offset: 0x001F049E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600B8CB RID: 47307 RVA: 0x001F22A7 File Offset: 0x001F04A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournGetArchiveRepositoryScRsp);
		}

		// Token: 0x0600B8CC RID: 47308 RVA: 0x001F22B8 File Offset: 0x001F04B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournGetArchiveRepositoryScRsp other)
		{
			return other != null && (other == this || (this.kPMIANLJIMI_.Equals(other.kPMIANLJIMI_) && this.cPICIEDIKJK_.Equals(other.cPICIEDIKJK_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B8CD RID: 47309 RVA: 0x001F231C File Offset: 0x001F051C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.kPMIANLJIMI_.GetHashCode();
			num ^= this.cPICIEDIKJK_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B8CE RID: 47310 RVA: 0x001F2377 File Offset: 0x001F0577
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B8CF RID: 47311 RVA: 0x001F237F File Offset: 0x001F057F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B8D0 RID: 47312 RVA: 0x001F2388 File Offset: 0x001F0588
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			this.cPICIEDIKJK_.WriteTo(ref output, RogueTournGetArchiveRepositoryScRsp._repeated_cPICIEDIKJK_codec);
			this.kPMIANLJIMI_.WriteTo(ref output, RogueTournGetArchiveRepositoryScRsp._repeated_kPMIANLJIMI_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B8D1 RID: 47313 RVA: 0x001F23E8 File Offset: 0x001F05E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.kPMIANLJIMI_.CalculateSize(RogueTournGetArchiveRepositoryScRsp._repeated_kPMIANLJIMI_codec);
			num += this.cPICIEDIKJK_.CalculateSize(RogueTournGetArchiveRepositoryScRsp._repeated_cPICIEDIKJK_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B8D2 RID: 47314 RVA: 0x001F244C File Offset: 0x001F064C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournGetArchiveRepositoryScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.kPMIANLJIMI_.Add(other.kPMIANLJIMI_);
			this.cPICIEDIKJK_.Add(other.cPICIEDIKJK_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B8D3 RID: 47315 RVA: 0x001F24AA File Offset: 0x001F06AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B8D4 RID: 47316 RVA: 0x001F24B4 File Offset: 0x001F06B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 96U)
				{
					if (num == 32U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 96U)
					{
						goto IL_44;
					}
				}
				else
				{
					if (num == 98U)
					{
						goto IL_44;
					}
					if (num == 104U || num == 106U)
					{
						this.kPMIANLJIMI_.AddEntriesFrom(ref input, RogueTournGetArchiveRepositoryScRsp._repeated_kPMIANLJIMI_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_44:
				this.cPICIEDIKJK_.AddEntriesFrom(ref input, RogueTournGetArchiveRepositoryScRsp._repeated_cPICIEDIKJK_codec);
			}
		}

		// Token: 0x04004A76 RID: 19062
		private static readonly MessageParser<RogueTournGetArchiveRepositoryScRsp> _parser = new MessageParser<RogueTournGetArchiveRepositoryScRsp>(() => new RogueTournGetArchiveRepositoryScRsp());

		// Token: 0x04004A77 RID: 19063
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004A78 RID: 19064
		public const int KPMIANLJIMIFieldNumber = 13;

		// Token: 0x04004A79 RID: 19065
		private static readonly FieldCodec<uint> _repeated_kPMIANLJIMI_codec = FieldCodec.ForUInt32(106U);

		// Token: 0x04004A7A RID: 19066
		private readonly RepeatedField<uint> kPMIANLJIMI_ = new RepeatedField<uint>();

		// Token: 0x04004A7B RID: 19067
		public const int CPICIEDIKJKFieldNumber = 12;

		// Token: 0x04004A7C RID: 19068
		private static readonly FieldCodec<uint> _repeated_cPICIEDIKJK_codec = FieldCodec.ForUInt32(98U);

		// Token: 0x04004A7D RID: 19069
		private readonly RepeatedField<uint> cPICIEDIKJK_ = new RepeatedField<uint>();

		// Token: 0x04004A7E RID: 19070
		public const int RetcodeFieldNumber = 4;

		// Token: 0x04004A7F RID: 19071
		private uint retcode_;
	}
}
